package cn.exrick.xboot.flow.service;

import cn.exrick.xboot.flow.entity.FlowNodeinfo;
import cn.exrick.xboot.flow.entity.FlowTaskHandler;
import cn.exrick.xboot.flow.entity.FlowTaskInstance;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zy
 * @since 2022-09-07
 */
public interface IFlowTaskHandlerService extends IService<FlowTaskHandler> {
    FlowNodeinfo addFlowTaskHandler(FlowNodeinfo flowNodeinfo,Integer level,String hontDepartmentId,
                            String taskId);
    boolean checkUser(String taskId,String userId);

    void updateFlowTaskHandler(FlowTaskInstance flowTaskInstance, String hontDepartmentId);

    void deleteByTaskId(String taskId);
}
